.class public Lcom/estrongs/dlna/core/f;
.super Landroid/content/BroadcastReceiver;
.source "NetBroadcastReceiver.java"


# direct methods
.method public constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method

.method public static a(Landroid/content/Context;)Lcom/estrongs/dlna/core/f;
    .locals 3

    .line 1
    new-instance v0, Lcom/estrongs/dlna/core/f;

    invoke-direct {v0}, Lcom/estrongs/dlna/core/f;-><init>()V

    .line 2
    new-instance v1, Landroid/content/IntentFilter;

    const-string v2, "android.net.conn.CONNECTIVITY_CHANGE"

    invoke-direct {v1, v2}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V

    .line 3
    invoke-virtual {p0, v0, v1}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;

    return-object v0
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 0

    const/4 p2, 0x1

    .line 1
    invoke-static {p1, p2}, Les/n10;->a(Landroid/content/Context;Z)V

    .line 2
    invoke-static {}, Lcom/estrongs/dlna/core/b;->g()Lcom/estrongs/dlna/core/b;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/dlna/core/b;->e()V

    return-void
.end method
